<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">

</head>
<body>
<div th:fragment="leadhead">
    <p>导航栏 </p>
    <a th:href="@{/}">首页</a>
    <a th:href="@{/cart}">购物车</a>
    <a th:href="@{/login}">登录</a>
</div>
</body>
</html>